package book;

public class BookRack {
    public static final int SIZE = 10;
    private Book[] books = new Book[SIZE];

    private int usesize;
    public BookRack() {
        books[0] = new Book("朝花夕拾","鲁迅",23,"文言文");
        books[1] = new Book("阿Q正传","鲁迅",25,"文言文");
        books[2] = new Book("阿衰","未知",10,"小说");
        this.usesize = 3;
     }
    public Book getBook(int pos) {
        return this.books[pos];
    }
    public int getUsesize() {

        return usesize;
    }

    public void setUsesize(int usesize) {

        this.usesize = usesize;
    }
}
